package com.example.personnel_oa.service;
//service 接口数据传达给controller
import com.example.comment_oa.pojos.Positive;
import com.example.comment_oa.pojos.SysEmployee;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;



/**
* @author HUAWEI
* @description 针对表【positive】的数据库操作Service
* @createDate 2022-10-18 15:31:47
*/
@Service
@Repository
@Transactional
public interface PositiveService {
        public List<Positive>Methods_b();
        public List<SysEmployee> allPositive();
        public List<Positive>allcontract(int posid);
        //新增转正申请
        int insertadd(Positive positive);
        List<Positive> allpos(Positive positive);
        //根据工号查询审批数据详情
        Positive posGonghao(String posBianhao);
        //转正审批成功
        int posState(String posName,String posBianhao);
        //转正审批失败
        int posStates(String posName,String posBianhao);
}
